* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 背景图片 */

body, html {
    width: 100%;
    height: 100%;
    /* background-color: skyblue; */
    background: url('/assets/images/login_bg.jpg') no-repeat center center/cover;
}

/* logo区域 */

.header {
    padding-top: 30px;
}

/* 登录注册主体区域  */

.login_and_register {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 310px;
    background-color: #fff;
    transform: translate(-50%, -50%);
}

.title_box {
    width: 400px;
    height: 60px;
    background: url('/assets/images/login_title.png') no-repeat center center;
}

/* 登录区域  */

.layui-form {
    padding: 0 30px;
}

/* 给字体图标定位 */

.layui-form-item {
    position: relative;
}

.layui-icon {
    position: absolute;
    top: 10px;
    left: 10px;
}

.layui-input {
    padding-left: 30px;
}

#res_btn {
    display: block;
    font-size: 12px;
    margin-top: 15px;
}